<?php
class HackerU_Api_Soap_Server
{
	public function getClassName()
	{
		return get_class($this);
	}
	
	public function getUserByEmail($email)
	{
		$model = new Model_User();
		return $model->getUserByEmail($email);
		//create instance of users model
		//validate email address; not empty and valid address
		//if not value return false
		//if valid create instance of dbTableUsers and return result from db
	}
	
	public function login($email,$psw)
	{
		$model = new Model_User();
		return $model->login($email,$psw);
	}
}